Cleaned up javascript files