added support for parsing javascript pages (like parsing php pages) and made test version of page