Lost all JS and CSS on updating the module?
That is why you should never do any modification to a module. The proper way to do this is to add the js and css to your custom theme using the same method you have done for views. 
It is strongly discouraged to modify module or add anythings to the module otherwise on update all the changes will be lost.