Removed some js code and applied css instead