add twitter js file

isAllowed does not do anything