update static files and rails 4 support