Fixed viewport declartion and made style/script paths absolute.