Added sample javascript stuff