fixes #1, fixes #2. javascript added and made accessible
README updated.
test application README updated
Merge pull request #6 from sachin87/master

use erb embedded javascript file and javascript made accessible