Remove protocol from javascript srcs