added js directory to sources