moving javascript to libs folder