Validate javascript folder location