add javascript to application html