refactoring => using jquery.css instead