no java script comes with inbuilt security . so there should not be much problem with it.