added init javascript file.