JS Work

Added pageinit's for home, form and display pages.