added mainjs directive for typewriter