Move libs to js directory