Generic javascript file