Rename assets/javascript to javascripts
Add page_type class method
Merge pull request #3 from tf/js-dir

Rename assets/javascript to javascripts
Merge pull request #4 from tf/page-type

Add page_type class method