allow js extensions