fix player for javascript assets

Close script tags to prevent javascript failure