changed to ruby javascript includes for safety