add public javascript resources