Adding sample javascript